package dfl.bysj.entity.VO;

import com.alibaba.excel.annotation.ExcelProperty;
import dfl.bysj.entity.Teacher;
import lombok.Data;

/**
 * @Author: DFL
 * @Data: 2022/5/219:17
 */
@Data
public class ExcelDictDTO_Teacher {

    @ExcelProperty("教师编号")
    private Integer teaId;

    @ExcelProperty("姓名")
    private String teaName;

    @ExcelProperty("电话号码")
    private Integer teaPhone;

    public ExcelDictDTO_Teacher() {
    }

    public ExcelDictDTO_Teacher(Teacher teacher) {
        this.teaId=teacher.getTeaId();
        this.teaName=teacher.getTeaName();
        this.teaPhone=teacher.getTeaPhone();
    }
}
